/**
 * Created by huynguyen on 3/18/14.
 */


/*
 *  Document   : main.js
 */
var categoryWeb = function() {
    var $category = $("#cat_accordion");

    // init all action in page
    var initCategory = function(){
        $category.customAccordion({
            classExpand : 'cs_expanded',
            menuClose: false,
            autoClose: true,
            saveState: false,
            disableLink: true,
            autoExpand: true
        });
    }
    return {
        init: function () {
            initCategory();
        }
    };
}();

/* Initialize WebApp when page loads */
$(function(){ categoryWeb.init(); });